﻿<UserControl x:Name="_this" x:Class="z.v.sub.AutoComplete"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="23" d:DesignWidth="300" Loaded="_this_Loaded" KeyUp="_this_KeyUp">
	<Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="*"/>
			<ColumnDefinition Width="Auto"/>
		</Grid.ColumnDefinitions>
		<TextBox x:Name="txt" TextWrapping="Wrap" GotFocus="txt_GotFocus" TextChanged="txt_TextChanged" LostFocus="txt_LostFocus" HorizontalAlignment="Left" PreviewLostKeyboardFocus="txt_PreviewLostKeyboardFocus"/>
		<Button x:Name="btn_Clear" Grid.Column="1" Content="X" Click="Button_Click_1"/>
		<Popup x:Name="pop">
			<ListBox x:Name="lbx" SelectionChanged="lbx_SelectionChanged" Style="{DynamicResource autLbx}" />
		</Popup>
	</Grid>
</UserControl>
